<?php /* Smarty version 2.6.16, created on 2009-04-19 23:14:19
         compiled from Favorites.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'Favorites.html', 7, false),array('function', 'url', 'Favorites.html', 19, false),array('function', 'img', 'Favorites.html', 26, false),array('modifier', 'truncate', 'Favorites.html', 19, false),array('modifier', 'clean', 'Favorites.html', 19, false),)), $this); ?>
<table style="width: 100%;" cellpadding="2" cellspacing="2">
	<tr>
		<td class="border2">
			<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
					<td class="block_header"><?php echo smarty_function_language(array('text' => "Mod_Video.my_fav_videos"), $this);?>
</td>
				</tr>
			</table>

<?php if (count ( $this->_tpl_vars['aItems'] )): ?>
<table style="width:100%;" cellpadding="8" cellspacing="0">
<tr>
<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aitems'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aitems']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['aItem']):
        $this->_foreach['aitems']['iteration']++;
?>
<td style="text-align:center; vertical-align;top;">
    <table style="margin-left:auto;margin-right:auto;vertical-align;top;">
    <tr>
    <td>
    <a href="<?php echo smarty_function_url(array('link' => 'public.videos','id' => $this->_tpl_vars['aItem']['vid_id'],'foxseotitle' => $this->_tpl_vars['aItem']['vid_title']), $this);?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['vid_title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, '20') : smarty_modifier_truncate($_tmp, '20')))) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>
</a>
	<div class="wrap1">
		<div class="wrap2">
        	<div class="wrap3">
            	<div class="wrap4">
                	<div class="wrap5">
                		<a href="<?php echo smarty_function_url(array('link' => 'public.videos','id' => $this->_tpl_vars['aItem']['vid_id'],'foxseotitle' => $this->_tpl_vars['aItem']['vid_title']), $this);?>
">
						<?php echo smarty_function_img(array('max_width' => '120','src' => ($this->_tpl_vars['sGImageUrl']).($this->_tpl_vars['aItem']['vid_id']).".jpg",'src_def' => "design/pic/noimage_120.jpg",'alt' => "",'id' => 'mainimage'), $this);?>

						</a>
					 </div>
					</div>
				</div>
			</div>
		</div>
	</td>
	</tr>
	</table>
	<?php if (getUser ( 'id' ) == $this->_tpl_vars['aItem']['user_id']): ?>
	<a href="<?php echo smarty_function_url(array('link' => 'current','deletevideo' => $this->_tpl_vars['aItem']['id']), $this);?>
" onclick="return sure('');"><?php echo smarty_function_language(array('text' => 'Mod_Video.delete'), $this);?>
</a>
	<?php endif; ?>
</td>
<?php if ((1 & $this->_tpl_vars['key'])): ?>
</tr>
<tr>
<?php if (($this->_foreach['aitems']['iteration'] == $this->_foreach['aitems']['total']) == true): ?>
<td></td>
<?php endif;  endif;  endforeach; endif; unset($_from); ?>
</tr>
</table>
<?php else: ?>
	<div class="message_info"><?php echo smarty_function_language(array('text' => 'Mod_Video.no_fav_videos'), $this);?>
</div>
<?php endif; ?>
		</td>
	</tr>
</table>